package com.lanou3g.ptp.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel
@Data
public class Sign implements Serializable {
    @JsonIgnore
    @ApiModelProperty(name = "签到ID", hidden = true)
    private Long id;

    @JsonIgnore
    @ApiModelProperty(name = "学生ID", hidden = true)
    private Long studentId;

    @ApiModelProperty("任务ID")
    private Long taskId;

    @ApiModelProperty(name = "签到时间", hidden = true)
    private Date signTime;

    @ApiModelProperty("经度")
    private String longitude;

    @ApiModelProperty("纬度")
    private String latitude;

    @JsonIgnore
    @ApiModelProperty(name = "状态", hidden = true)
    private Integer status;

    @JsonIgnore
    @ApiModelProperty(name = "创建时间", hidden = true)
    private Date createTime;

    @JsonIgnore
    @ApiModelProperty(name = "更新时间", hidden = true)
    private Date updateTime;
}
